from httper import Httper


def get_book(q,page=1):
    if q.isdigit():
        return Httper.get_isbn_book(q)
    else:
        return Httper.get_word_book(q,page)


if __name__ == '__main__':
    print(get_book('9787806737842',1))
    print(get_book('无敌',1))